package top.software.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.software.pojo.SavedFile;

import java.util.List;

/**
 * @ClassName: SavedFileMapper.xml
 * @Author: Amosen
 * @Since: 2021/4/23
 */

@Repository
public interface SavedFileMapper {

    public List<SavedFile> getAllFile();

    public SavedFile getFileById(@Param("id") Integer id);

    public int addSavedFile(SavedFile file);

    public int updateSavedFile(SavedFile file);

    public int deleteSavedFile(@Param("id") Integer id);

}
